package com.itheima.account.service.impl;

import com.itheima.account.dao.IAccountDao;
import com.itheima.account.service.IAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class AccountServiceImpl implements IAccountService {

    @Autowired
    @Qualifier("abc")
    private IAccountDao accountDao;

    @Override
    public void saveAccount() {
        this.accountDao.saveAccount();
    }
}